package ch6.ex17;

import static ch6.print.Print.*;
import ch6.ex16.*;

class Frog2 extends Amphibian2{
	public void moveInWater(){
		println("Moving in water again.");
	}
	public void moveOnLand(){
		println("Moving on land again.");
	}
}
public class FrogTest2 {
	public static void main(String... args){
		Amphibian2 a2 = new Frog2();
		a2.moveInWater();
		a2.moveOnLand();
	}
}
